package com.eurasia.assignment.domain;

import java.time.LocalDateTime;

import lombok.Value;

@Value
public class Assignment {
    Long id;
    String name;
    String course;
    String type;
    LocalDateTime createTime;
    String finishTime;
    String status;
    String score;
    Integer points;

    public static Assignment create(String name, String course, String type) {
        return new Assignment(null, name, course, type, LocalDateTime.now(), "-", "待提交", "-", 0);
    }
} 